﻿@model yq.WebModel.ListPage<yq.Model.Logic.UserAccount>
           
           <div  class="listdivSmOut">
    @foreach (var info in Model.PageList)
    {
        <div class="listdivSm">
            <div >@info.NickName [@info.State.ExtName()]</div>
            <div >   @(Html.RawFor(obj => obj.PageList[0].PurviewEnum))：@info.PurviewEnum.ExtName()   </div>
              
            <div class="op">
                    @Html.ActionRoleLink(Model.RoleLinkList["查看"], new { userId = info.UserId }, new { @class = "a-role", onclick = "return $.DialogAjax(this)", alt = "查看" })
                         <span class="divider">/</span>
                     @Html.ActionRoleLink(Model.RoleLinkList["编辑"], new { userId = info.UserId }, new { @class = "a-role" })
            </div>
        </div>
    }
    @if (Model.PageList.Count == 0)
    { 
    
        <div class="listdivSm">
            <div class="longtxt">
                未能搜索到数据</div>
          
        </div>
    }
</div>
@*

<div class="divlistFormList" style=" min-height:430px">
    <div>
        <table class="table table-striped tableNew" style="position: relative;">
            <thead>
                <tr>
                    <th style="width: 250px">
                        @(Html.RawFor(obj => obj.PageList[0].NickName))
                    </th>
                    <th style="width: 200px">
                        @(Html.RawFor(obj => obj.PageList[0].CreateTtime))
                    </th>
                    <th style="width: 180px">
                        @(Html.RawFor(obj => obj.PageList[0].PurviewEnum))
                    </th>
                    <th style="width: 150px">
                        @(Html.RawFor(obj => obj.PageList[0].State))
                    </th>
                    <th style="width: 150px">
                        操作
                    </th>
                </tr>
            </thead>
            <tbody>
                @foreach (var info in Model.PageList)
                {
                    <tr>
                        <td>
                            @info.NickName
                        </td>
                        <td>
                            @info.CreateTtime.ToString("yyyy-MM-dd")
                        </td>
                        <td>
                            @info.PurviewEnum.ExtName()
                        </td>
                        <td >
                            @info.State.ExtName()
                        </td> 
                        <td>
                       
                            @Html.ActionRoleLink(Model.RoleLinkList["查看"], new { userId = info.UserId }, new { @class = "a-role", onclick = "return $.DialogAjax(this)", alt = "查看" })
                         <span class="divider">/</span>
                     @Html.ActionRoleLink(Model.RoleLinkList["编辑"], new { userId = info.UserId }, new { @class = "a-role" })
                        </td>
                    </tr>
                }
                @if (Model.PageList.Count == 0)
                { 
                    
                    <tr>
                        <td colspan="5" style=" text-align:center" >
                            未能搜索到数据
                        </td>
                    </tr>
                }
            </tbody>
        </table>
    </div>
</div>*@
@Html.Pager(Model.PageList)
